package mn.idax.exchange.otc.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OTCUserExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public OTCUserExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("Id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("Id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("Id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("Id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("Id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("Id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("Id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("Id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("Id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("Id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("Id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("Id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("UserId is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("UserId is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(Integer value) {
            addCriterion("UserId =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(Integer value) {
            addCriterion("UserId <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(Integer value) {
            addCriterion("UserId >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(Integer value) {
            addCriterion("UserId >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(Integer value) {
            addCriterion("UserId <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(Integer value) {
            addCriterion("UserId <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<Integer> values) {
            addCriterion("UserId in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<Integer> values) {
            addCriterion("UserId not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(Integer value1, Integer value2) {
            addCriterion("UserId between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(Integer value1, Integer value2) {
            addCriterion("UserId not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andTradenumberIsNull() {
            addCriterion("TradeNumber is null");
            return (Criteria) this;
        }

        public Criteria andTradenumberIsNotNull() {
            addCriterion("TradeNumber is not null");
            return (Criteria) this;
        }

        public Criteria andTradenumberEqualTo(Integer value) {
            addCriterion("TradeNumber =", value, "tradenumber");
            return (Criteria) this;
        }

        public Criteria andTradenumberNotEqualTo(Integer value) {
            addCriterion("TradeNumber <>", value, "tradenumber");
            return (Criteria) this;
        }

        public Criteria andTradenumberGreaterThan(Integer value) {
            addCriterion("TradeNumber >", value, "tradenumber");
            return (Criteria) this;
        }

        public Criteria andTradenumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("TradeNumber >=", value, "tradenumber");
            return (Criteria) this;
        }

        public Criteria andTradenumberLessThan(Integer value) {
            addCriterion("TradeNumber <", value, "tradenumber");
            return (Criteria) this;
        }

        public Criteria andTradenumberLessThanOrEqualTo(Integer value) {
            addCriterion("TradeNumber <=", value, "tradenumber");
            return (Criteria) this;
        }

        public Criteria andTradenumberIn(List<Integer> values) {
            addCriterion("TradeNumber in", values, "tradenumber");
            return (Criteria) this;
        }

        public Criteria andTradenumberNotIn(List<Integer> values) {
            addCriterion("TradeNumber not in", values, "tradenumber");
            return (Criteria) this;
        }

        public Criteria andTradenumberBetween(Integer value1, Integer value2) {
            addCriterion("TradeNumber between", value1, value2, "tradenumber");
            return (Criteria) this;
        }

        public Criteria andTradenumberNotBetween(Integer value1, Integer value2) {
            addCriterion("TradeNumber not between", value1, value2, "tradenumber");
            return (Criteria) this;
        }

        public Criteria andGoodrateIsNull() {
            addCriterion("GoodRate is null");
            return (Criteria) this;
        }

        public Criteria andGoodrateIsNotNull() {
            addCriterion("GoodRate is not null");
            return (Criteria) this;
        }

        public Criteria andGoodrateEqualTo(BigDecimal value) {
            addCriterion("GoodRate =", value, "goodrate");
            return (Criteria) this;
        }

        public Criteria andGoodrateNotEqualTo(BigDecimal value) {
            addCriterion("GoodRate <>", value, "goodrate");
            return (Criteria) this;
        }

        public Criteria andGoodrateGreaterThan(BigDecimal value) {
            addCriterion("GoodRate >", value, "goodrate");
            return (Criteria) this;
        }

        public Criteria andGoodrateGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("GoodRate >=", value, "goodrate");
            return (Criteria) this;
        }

        public Criteria andGoodrateLessThan(BigDecimal value) {
            addCriterion("GoodRate <", value, "goodrate");
            return (Criteria) this;
        }

        public Criteria andGoodrateLessThanOrEqualTo(BigDecimal value) {
            addCriterion("GoodRate <=", value, "goodrate");
            return (Criteria) this;
        }

        public Criteria andGoodrateIn(List<BigDecimal> values) {
            addCriterion("GoodRate in", values, "goodrate");
            return (Criteria) this;
        }

        public Criteria andGoodrateNotIn(List<BigDecimal> values) {
            addCriterion("GoodRate not in", values, "goodrate");
            return (Criteria) this;
        }

        public Criteria andGoodrateBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("GoodRate between", value1, value2, "goodrate");
            return (Criteria) this;
        }

        public Criteria andGoodrateNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("GoodRate not between", value1, value2, "goodrate");
            return (Criteria) this;
        }

        public Criteria andGoodnumberIsNull() {
            addCriterion("GoodNumber is null");
            return (Criteria) this;
        }

        public Criteria andGoodnumberIsNotNull() {
            addCriterion("GoodNumber is not null");
            return (Criteria) this;
        }

        public Criteria andGoodnumberEqualTo(Integer value) {
            addCriterion("GoodNumber =", value, "goodnumber");
            return (Criteria) this;
        }

        public Criteria andGoodnumberNotEqualTo(Integer value) {
            addCriterion("GoodNumber <>", value, "goodnumber");
            return (Criteria) this;
        }

        public Criteria andGoodnumberGreaterThan(Integer value) {
            addCriterion("GoodNumber >", value, "goodnumber");
            return (Criteria) this;
        }

        public Criteria andGoodnumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("GoodNumber >=", value, "goodnumber");
            return (Criteria) this;
        }

        public Criteria andGoodnumberLessThan(Integer value) {
            addCriterion("GoodNumber <", value, "goodnumber");
            return (Criteria) this;
        }

        public Criteria andGoodnumberLessThanOrEqualTo(Integer value) {
            addCriterion("GoodNumber <=", value, "goodnumber");
            return (Criteria) this;
        }

        public Criteria andGoodnumberIn(List<Integer> values) {
            addCriterion("GoodNumber in", values, "goodnumber");
            return (Criteria) this;
        }

        public Criteria andGoodnumberNotIn(List<Integer> values) {
            addCriterion("GoodNumber not in", values, "goodnumber");
            return (Criteria) this;
        }

        public Criteria andGoodnumberBetween(Integer value1, Integer value2) {
            addCriterion("GoodNumber between", value1, value2, "goodnumber");
            return (Criteria) this;
        }

        public Criteria andGoodnumberNotBetween(Integer value1, Integer value2) {
            addCriterion("GoodNumber not between", value1, value2, "goodnumber");
            return (Criteria) this;
        }

        public Criteria andBadnumberIsNull() {
            addCriterion("badNumber is null");
            return (Criteria) this;
        }

        public Criteria andBadnumberIsNotNull() {
            addCriterion("badNumber is not null");
            return (Criteria) this;
        }

        public Criteria andBadnumberEqualTo(Integer value) {
            addCriterion("badNumber =", value, "badnumber");
            return (Criteria) this;
        }

        public Criteria andBadnumberNotEqualTo(Integer value) {
            addCriterion("badNumber <>", value, "badnumber");
            return (Criteria) this;
        }

        public Criteria andBadnumberGreaterThan(Integer value) {
            addCriterion("badNumber >", value, "badnumber");
            return (Criteria) this;
        }

        public Criteria andBadnumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("badNumber >=", value, "badnumber");
            return (Criteria) this;
        }

        public Criteria andBadnumberLessThan(Integer value) {
            addCriterion("badNumber <", value, "badnumber");
            return (Criteria) this;
        }

        public Criteria andBadnumberLessThanOrEqualTo(Integer value) {
            addCriterion("badNumber <=", value, "badnumber");
            return (Criteria) this;
        }

        public Criteria andBadnumberIn(List<Integer> values) {
            addCriterion("badNumber in", values, "badnumber");
            return (Criteria) this;
        }

        public Criteria andBadnumberNotIn(List<Integer> values) {
            addCriterion("badNumber not in", values, "badnumber");
            return (Criteria) this;
        }

        public Criteria andBadnumberBetween(Integer value1, Integer value2) {
            addCriterion("badNumber between", value1, value2, "badnumber");
            return (Criteria) this;
        }

        public Criteria andBadnumberNotBetween(Integer value1, Integer value2) {
            addCriterion("badNumber not between", value1, value2, "badnumber");
            return (Criteria) this;
        }

        public Criteria andIconurlIsNull() {
            addCriterion("IconUrl is null");
            return (Criteria) this;
        }

        public Criteria andIconurlIsNotNull() {
            addCriterion("IconUrl is not null");
            return (Criteria) this;
        }

        public Criteria andIconurlEqualTo(String value) {
            addCriterion("IconUrl =", value, "iconurl");
            return (Criteria) this;
        }

        public Criteria andIconurlNotEqualTo(String value) {
            addCriterion("IconUrl <>", value, "iconurl");
            return (Criteria) this;
        }

        public Criteria andIconurlGreaterThan(String value) {
            addCriterion("IconUrl >", value, "iconurl");
            return (Criteria) this;
        }

        public Criteria andIconurlGreaterThanOrEqualTo(String value) {
            addCriterion("IconUrl >=", value, "iconurl");
            return (Criteria) this;
        }

        public Criteria andIconurlLessThan(String value) {
            addCriterion("IconUrl <", value, "iconurl");
            return (Criteria) this;
        }

        public Criteria andIconurlLessThanOrEqualTo(String value) {
            addCriterion("IconUrl <=", value, "iconurl");
            return (Criteria) this;
        }

        public Criteria andIconurlLike(String value) {
            addCriterion("IconUrl like", value, "iconurl");
            return (Criteria) this;
        }

        public Criteria andIconurlNotLike(String value) {
            addCriterion("IconUrl not like", value, "iconurl");
            return (Criteria) this;
        }

        public Criteria andIconurlIn(List<String> values) {
            addCriterion("IconUrl in", values, "iconurl");
            return (Criteria) this;
        }

        public Criteria andIconurlNotIn(List<String> values) {
            addCriterion("IconUrl not in", values, "iconurl");
            return (Criteria) this;
        }

        public Criteria andIconurlBetween(String value1, String value2) {
            addCriterion("IconUrl between", value1, value2, "iconurl");
            return (Criteria) this;
        }

        public Criteria andIconurlNotBetween(String value1, String value2) {
            addCriterion("IconUrl not between", value1, value2, "iconurl");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("CreateTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("CreateTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("CreateTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CreateTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("CreateTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("CreateTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("CreateTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("CreateTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("CreateTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("CreateTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("UpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("UpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("UpdateTime =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("UpdateTime <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("UpdateTime >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("UpdateTime >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("UpdateTime <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("UpdateTime <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("UpdateTime in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("UpdateTime not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("UpdateTime between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("UpdateTime not between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUserstatusIsNull() {
            addCriterion("UserStatus is null");
            return (Criteria) this;
        }

        public Criteria andUserstatusIsNotNull() {
            addCriterion("UserStatus is not null");
            return (Criteria) this;
        }

        public Criteria andUserstatusEqualTo(Integer value) {
            addCriterion("UserStatus =", value, "userstatus");
            return (Criteria) this;
        }

        public Criteria andUserstatusNotEqualTo(Integer value) {
            addCriterion("UserStatus <>", value, "userstatus");
            return (Criteria) this;
        }

        public Criteria andUserstatusGreaterThan(Integer value) {
            addCriterion("UserStatus >", value, "userstatus");
            return (Criteria) this;
        }

        public Criteria andUserstatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("UserStatus >=", value, "userstatus");
            return (Criteria) this;
        }

        public Criteria andUserstatusLessThan(Integer value) {
            addCriterion("UserStatus <", value, "userstatus");
            return (Criteria) this;
        }

        public Criteria andUserstatusLessThanOrEqualTo(Integer value) {
            addCriterion("UserStatus <=", value, "userstatus");
            return (Criteria) this;
        }

        public Criteria andUserstatusIn(List<Integer> values) {
            addCriterion("UserStatus in", values, "userstatus");
            return (Criteria) this;
        }

        public Criteria andUserstatusNotIn(List<Integer> values) {
            addCriterion("UserStatus not in", values, "userstatus");
            return (Criteria) this;
        }

        public Criteria andUserstatusBetween(Integer value1, Integer value2) {
            addCriterion("UserStatus between", value1, value2, "userstatus");
            return (Criteria) this;
        }

        public Criteria andUserstatusNotBetween(Integer value1, Integer value2) {
            addCriterion("UserStatus not between", value1, value2, "userstatus");
            return (Criteria) this;
        }

        public Criteria andHistoryturnoverIsNull() {
            addCriterion("HistoryTurnover is null");
            return (Criteria) this;
        }

        public Criteria andHistoryturnoverIsNotNull() {
            addCriterion("HistoryTurnover is not null");
            return (Criteria) this;
        }

        public Criteria andHistoryturnoverEqualTo(BigDecimal value) {
            addCriterion("HistoryTurnover =", value, "historyturnover");
            return (Criteria) this;
        }

        public Criteria andHistoryturnoverNotEqualTo(BigDecimal value) {
            addCriterion("HistoryTurnover <>", value, "historyturnover");
            return (Criteria) this;
        }

        public Criteria andHistoryturnoverGreaterThan(BigDecimal value) {
            addCriterion("HistoryTurnover >", value, "historyturnover");
            return (Criteria) this;
        }

        public Criteria andHistoryturnoverGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("HistoryTurnover >=", value, "historyturnover");
            return (Criteria) this;
        }

        public Criteria andHistoryturnoverLessThan(BigDecimal value) {
            addCriterion("HistoryTurnover <", value, "historyturnover");
            return (Criteria) this;
        }

        public Criteria andHistoryturnoverLessThanOrEqualTo(BigDecimal value) {
            addCriterion("HistoryTurnover <=", value, "historyturnover");
            return (Criteria) this;
        }

        public Criteria andHistoryturnoverIn(List<BigDecimal> values) {
            addCriterion("HistoryTurnover in", values, "historyturnover");
            return (Criteria) this;
        }

        public Criteria andHistoryturnoverNotIn(List<BigDecimal> values) {
            addCriterion("HistoryTurnover not in", values, "historyturnover");
            return (Criteria) this;
        }

        public Criteria andHistoryturnoverBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("HistoryTurnover between", value1, value2, "historyturnover");
            return (Criteria) this;
        }

        public Criteria andHistoryturnoverNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("HistoryTurnover not between", value1, value2, "historyturnover");
            return (Criteria) this;
        }

        public Criteria andUniquekeyIsNull() {
            addCriterion("UniqueKey is null");
            return (Criteria) this;
        }

        public Criteria andUniquekeyIsNotNull() {
            addCriterion("UniqueKey is not null");
            return (Criteria) this;
        }

        public Criteria andUniquekeyEqualTo(String value) {
            addCriterion("UniqueKey =", value, "uniquekey");
            return (Criteria) this;
        }

        public Criteria andUniquekeyNotEqualTo(String value) {
            addCriterion("UniqueKey <>", value, "uniquekey");
            return (Criteria) this;
        }

        public Criteria andUniquekeyGreaterThan(String value) {
            addCriterion("UniqueKey >", value, "uniquekey");
            return (Criteria) this;
        }

        public Criteria andUniquekeyGreaterThanOrEqualTo(String value) {
            addCriterion("UniqueKey >=", value, "uniquekey");
            return (Criteria) this;
        }

        public Criteria andUniquekeyLessThan(String value) {
            addCriterion("UniqueKey <", value, "uniquekey");
            return (Criteria) this;
        }

        public Criteria andUniquekeyLessThanOrEqualTo(String value) {
            addCriterion("UniqueKey <=", value, "uniquekey");
            return (Criteria) this;
        }

        public Criteria andUniquekeyLike(String value) {
            addCriterion("UniqueKey like", value, "uniquekey");
            return (Criteria) this;
        }

        public Criteria andUniquekeyNotLike(String value) {
            addCriterion("UniqueKey not like", value, "uniquekey");
            return (Criteria) this;
        }

        public Criteria andUniquekeyIn(List<String> values) {
            addCriterion("UniqueKey in", values, "uniquekey");
            return (Criteria) this;
        }

        public Criteria andUniquekeyNotIn(List<String> values) {
            addCriterion("UniqueKey not in", values, "uniquekey");
            return (Criteria) this;
        }

        public Criteria andUniquekeyBetween(String value1, String value2) {
            addCriterion("UniqueKey between", value1, value2, "uniquekey");
            return (Criteria) this;
        }

        public Criteria andUniquekeyNotBetween(String value1, String value2) {
            addCriterion("UniqueKey not between", value1, value2, "uniquekey");
            return (Criteria) this;
        }

        public Criteria andNormalnumberIsNull() {
            addCriterion("NormalNumber is null");
            return (Criteria) this;
        }

        public Criteria andNormalnumberIsNotNull() {
            addCriterion("NormalNumber is not null");
            return (Criteria) this;
        }

        public Criteria andNormalnumberEqualTo(Integer value) {
            addCriterion("NormalNumber =", value, "normalnumber");
            return (Criteria) this;
        }

        public Criteria andNormalnumberNotEqualTo(Integer value) {
            addCriterion("NormalNumber <>", value, "normalnumber");
            return (Criteria) this;
        }

        public Criteria andNormalnumberGreaterThan(Integer value) {
            addCriterion("NormalNumber >", value, "normalnumber");
            return (Criteria) this;
        }

        public Criteria andNormalnumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("NormalNumber >=", value, "normalnumber");
            return (Criteria) this;
        }

        public Criteria andNormalnumberLessThan(Integer value) {
            addCriterion("NormalNumber <", value, "normalnumber");
            return (Criteria) this;
        }

        public Criteria andNormalnumberLessThanOrEqualTo(Integer value) {
            addCriterion("NormalNumber <=", value, "normalnumber");
            return (Criteria) this;
        }

        public Criteria andNormalnumberIn(List<Integer> values) {
            addCriterion("NormalNumber in", values, "normalnumber");
            return (Criteria) this;
        }

        public Criteria andNormalnumberNotIn(List<Integer> values) {
            addCriterion("NormalNumber not in", values, "normalnumber");
            return (Criteria) this;
        }

        public Criteria andNormalnumberBetween(Integer value1, Integer value2) {
            addCriterion("NormalNumber between", value1, value2, "normalnumber");
            return (Criteria) this;
        }

        public Criteria andNormalnumberNotBetween(Integer value1, Integer value2) {
            addCriterion("NormalNumber not between", value1, value2, "normalnumber");
            return (Criteria) this;
        }

        public Criteria andIsupdatedIsNull() {
            addCriterion("IsUpdated is null");
            return (Criteria) this;
        }

        public Criteria andIsupdatedIsNotNull() {
            addCriterion("IsUpdated is not null");
            return (Criteria) this;
        }

        public Criteria andIsupdatedEqualTo(Boolean value) {
            addCriterion("IsUpdated =", value, "isupdated");
            return (Criteria) this;
        }

        public Criteria andIsupdatedNotEqualTo(Boolean value) {
            addCriterion("IsUpdated <>", value, "isupdated");
            return (Criteria) this;
        }

        public Criteria andIsupdatedGreaterThan(Boolean value) {
            addCriterion("IsUpdated >", value, "isupdated");
            return (Criteria) this;
        }

        public Criteria andIsupdatedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("IsUpdated >=", value, "isupdated");
            return (Criteria) this;
        }

        public Criteria andIsupdatedLessThan(Boolean value) {
            addCriterion("IsUpdated <", value, "isupdated");
            return (Criteria) this;
        }

        public Criteria andIsupdatedLessThanOrEqualTo(Boolean value) {
            addCriterion("IsUpdated <=", value, "isupdated");
            return (Criteria) this;
        }

        public Criteria andIsupdatedIn(List<Boolean> values) {
            addCriterion("IsUpdated in", values, "isupdated");
            return (Criteria) this;
        }

        public Criteria andIsupdatedNotIn(List<Boolean> values) {
            addCriterion("IsUpdated not in", values, "isupdated");
            return (Criteria) this;
        }

        public Criteria andIsupdatedBetween(Boolean value1, Boolean value2) {
            addCriterion("IsUpdated between", value1, value2, "isupdated");
            return (Criteria) this;
        }

        public Criteria andIsupdatedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("IsUpdated not between", value1, value2, "isupdated");
            return (Criteria) this;
        }

        public Criteria andRowVersionEqualTo(byte[] value) {
            addCriterion("RowVersion =", value, "rowversion");
            return (Criteria) this;
        }

    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}